But Copilot (or a human) is not copying some existing code. It (Copilot or human) just used existing code to learn. So it is only about the learning part, nothing else.
Yes, if Copilot (or a human) would copy existing code, that would be a copyright violation. But none of the arguments here are about that. It's just about the learning.