GitHub Copilot is a paid feature, but that's a red herring in this discussion - people are free to monetize free software, neither or the major licenses forbid this.
GitGub Copilot is an advanced autocomplete / code generation system, based on a machine learning model. The code used for training the model is taken from projects hosted on GitHub. These projects were published under different licenses.
The main questions are:
Some of the licenses need something from you if you create a derivative work. Does the Copilot training itself count as creating a derivative work?
Sometimes the autocomplete basically quotes the original code. Does the original license then apply to the autocompleted / generated code too? How much of verbatim code quoting does it need for the result to be considered a derivative work?