At least one IP lawyer strongly disagrees, suggesting anything you host on GitHub is fair game [1].
[1] https://fossa.com/blog/analyzing-legal-implications-github-c...
> The person writing an SO answer is intelligent and capable of conceptual understanding, the computer regurgitating code without regard to its license is not.
From a copyright perspective, that is irrelevant. In fact I would think Copilot has more incentives to not infringe than a random SO user, who is very unlikely to be sued. I already argued in another post that in my view, from any perspective, it is also irrelevant whether it's a person or AI doing the same work Copilot does.