How do you steal open source code? It's open.
You violate the license (such as GPL)
Copyright licenses are not one word. They are written with intent, and usually at minimum that intent is to credit the original author.
You violate the license (such as GPL)