I think that brings up a good point that isn't often considered: A lot of laws are in place just as much to protect people as to try to prevent something from happening, but unless a person needs the law to protect them, it isn't enforced.
Jaywalking is a great example.. if you jaywalk in most cases nobody is going to write you a ticket. However if you jaywalk and end up causing an accident, then the jaywalking law gives the people who suffered a loss a means of getting justice. Without it, you could argue right of way (which pedestrians are always granted against vehicles), and it makes it more difficult to sue for liability.
Copyrights are the same way. If the owner of the intellectual property is not being directly impacted by the copyright laws being broken, then nobody is going to press charges. Yet at the same time if the owner of the rights to Donkey Kong started trying to sell brand new arcade cabinets with DK loaded up, and found a bunch of arcades were running Mame cabinets or 60-in-1 cabinets and weren't interested in buying because of that, then that person or company would be directly impacted and could use that law to protect them.
While it could be argued that these laws are in place to discourage or prevent things, I think a good argument could be made that laws are not good at preventing anything and therefore truly only serve the purpose of allowing a means of recourse for those affected.
Plus municipalities found that these laws can provide a strong source of revenue. Jaywalking again is a great example. The city is low on money, send your officers out to write tickets for jaywalking. Probably not what the lawmakers ever intended but it is the reality. Another reality is that people will pirate software as long as they are physically able to. And they will probably never even receive as much as a warning for doing it.