The problem is that Richard Stallman is a fucking egocentric hypocrite and the gpl contract should be voided. If a company took a look at how the gpl code worked and then came up with a brand new algorithm with the same results as the gpl it would still be considered gpl code which is ridiculous.
Yes that is ridiculous, that's why it doesn't work that way.
Linux has no unix code(different algorithms but same results) but it looks like unix and it runs like unix, wouldn't this be a violation of unix patents?
Patents has not a lot to do with copyright.