Neither.
Neither actually hurts in a scientifically significant measurable way.
There aren't enough pirates who would actually qualify to buy the products their buying to fight off the positive advantages of extra exposure to cause a net loss. Extreme example of how piracy can help some games here... posted by someone who clearly doesn't want said advantages to be true.
http://amitay.us/blog/files/piracy_doubled_my_app_sales.php
While the used market actually causes MORE sales. It doesn't cost sales!