Furthermore, the language model itself is clearly a for profit derivative work and so would be subject to the wants of the original copyright owners and it is clearly a derivative work since without the inputs of the copyrighted code in its training it would be different and likely less effective.
There's a more interesting question about the copyright status of the code it outputs, since the language model is sort of like a compiler, but also not like a compiler since the output is based on other people's copyrighted code.
I feel a lot of people get caught up on the output code and completely ignore the fact that copilot itself is likely a massive copyright violation.