Well, to be fair, most of that is probably just copying the a particular syntax or built-in function, which (I think?) has nothing to do with copyright.
At least for me, that's most of the copies I do, followed by the ones that basically are 'call these functions in order', then paste it as a comment and use it as cheat sheet, and only very rarely I copy a 'creative' snippet almost verbatim, like a regexp matching email addresses, a to-hex or a crc calculation. And perhaps that's actually tricky.