This could have been prevented very simply: GitHub avoiding training Copilot on GPL code.
What they can still do is offer a new model excluding GPL code for people who care about it.
[1] - https://www.gnu.org/licenses/gpl-faq.en.html#SourceCodeInDoc...