I would argue, also humans are far from perfect here. But this is anyway not so much my argument. I agree with you, this should be improved. But I don't see such a big problem in improving this. I'm sure we will find some ways to get this also to a human-level or better.
I'm mostly talking about the statement "[Copilot] relies on unprecedented open-source software piracy". This is just wrong. It learns from open-source code, just like a human does.