When I read code under GPL source and write something like that under a different license, I'm legally liable for copyright infringement. Of course the original owners need to prove it first, but still there's problems from that.
Some open source projects outright disallow you from contribution if you tell them you're working on a closed source competitor.