Until the internet, maximizing profit and maximizing value was more or less the same thing. That's not true anymore : when I copy something I'm actually creating value while destroying profit. The only way to do maintain profit is to create scarcity and define prices artificially as the most people would pay for it.
The ability to create copy of things at no cost is a kind of a miracle when you look at it. The issue is that the market doesn't seem to work well with limitless resources. Totally fixing piracy would require a market that can work for unlimited resources, but we have nothing of that kind yet ; it could be something like wuffies (Down and Out in the Magic Kingdom ). Read it if you want to experiment what a society with limitless resources could look like.
Not saying that this is the solution still.