Comment by samspot
Copyright, and patents, are not based on moral principles. It's a temporary government license meant to encourage innovation and hustle. Whether it works or not, I don't know. But the only question of morality is if it's immoral to break an arbitrary law, or not.
This is strongly jurisdiction-dependent.
US patent and copyright derive from A1S8C8 of the US constitution, "to promote science and useful arts".
Much EU law derives from a French tradition based on droight d'auteur, or moral rights.
International copyright code (Berne Convention) rips and mashes from both traditions.