Yes but does the computer actually learn? Is the computer a person that read a book and remembered, a part and used that to create a novel idea or is it just cioy pasting the answer and then reselling that

A computer not, but a LLM model does learn. The original text in no way exists 'in the model', and the model does not copy-paste it and resell the original text. Not the same, but reasonably similar to a human.

We may need some new legislation. An LLM is not a person, but its also not just a storage solution.