I don't care either way. If an AI can do your programmer job, it means you aren't using your brain enough.
An AI can probably do half of my day job because it's stupidly repetitive. Leadership imposes old ways, and they dismiss anything "new" (i.e. newer than 2005). For example, writing all these high-level data pipelines and even web backends in C++ despite having no special performance need for it. Even though I'm not literally copy-pasting code, I'm copy-pasting something in my mind only a little higher-level than that, then relying on some procedural and muscle memory to pump it out. It's a skill that anyone can learn, just takes time. If I didn't have side projects, I'd forget what it's like to think about my code.
Some old-school programmers complain about kids with high-level languages doing their job more efficiently, so they work on lower-level stuff instead. It's been that way for decades. Now AI is knocking on that door. But before AI, C was the high-level thing, and we got compiler optimizations obviating much of the need for asm expertise, undoubtedly pissing off some who really invested in that skillset. If I'm working on something needing the performance guarantees of C or Asm, and the computer can assist me, I'm all for it. Please take this repetitive job so I can use my brain instead.
And the copyright thing is just an excuse. Programmers usually don't give a darn about copyright other than being legally obligated to comply with it. So much of programming is copy-paste. GPL had its day, and it makes less and less sense as services take over. GPL locks small-time devs out of including the code in a for-profit project but does nothing to stop big corps from using it in a SaaS. The biggest irony is how Microsoft not only uses GPL'd code for profit but also ships WSL, all legally.