This example is one of those rare pieces of code that is special though. It's the product of years of deliberate work by professor-level academics. This is exactly the kind of person who would have the least to fear from copilot if it really was just automating the boring plumbing parts and not shamelessly copying high-value, creative, insightful code.
But that's not the type to fear Copilot. Yes, they might object to the license violation. I get that. I acknowledge that. But when you're that intelligent and that creative you don't fear being replaced - displaced? - by something like Copilot. Nah. That's a fear for the mundane and the common. That's a fear for the rest of us.
Or that the professor has a legitimate concern, and a lot of people in the comments here don't have any code being stolen and are just afraid of Copilot.
It can be both things. (I'm not endorsing either view, just trying to clarify.)