I have heard it mentioned before, but I wonder how long Copilot is banned from companies due to licensing issues.
I'm not a lawyer, but I can see the risk if code seems to be substantially copied from copyleft corpuses of code.
I'm reminded of the "9 lines of code" that was disputed in Oracle vs Google.
https://majadhondt.wordpress.com/2012/05/16/googles-9-lines/