I’m rather curios what you’re doing to make copy-pasting behave that way actually…
As for whether that’s the case you should be able to tell all by yourself by looking at the code in your own post, or even pasting it back and trying to run it