I'd think twice about writing something whose primary purpose is to infringe copyrights. Aside from the legal ramifications - hey, my job is all about intellectual property, it's a little hypocritical to do my best to steal other people's intellectual property.
Basically, I'd be comfortable inventing BitTorrent, Gnutella, or YouTube, but would feel a little guilty about Napster and AudioGalaxy.