Isn’t similar to looking up/copying code from stack overflow, Google or books? Use it as reference to write the code and claim ownership. My little understanding is that the whole copyright free ride for LLMS is because it is similar to the process of humans using content under copyright as reference to create something new and claim ownership.
No, it is not similar at all. There is the pesky little thing called 'copyright' which allows you to set terms under which you license your code. Stackoverflow, google and books all come with strings attached.
Your idea of how humans use content under copyright is mistaken.
I want to make an ajax request using jQuery. I look up an example in StackOverflow. I use a very similar code to the example given in the post and by not giving any attribution I just claim ownership.
Same with Spring in action books or looking up Java class references. Many times I look something up and use it as reference just tweaking the examples given.
Millions of programmers have done this.
LLMS in principle use the training data to generate an answer to the prompt, similar to the process I described.