They announced Copilot X as using GPT-4 but its unclear to me whether it's just the new features (the chat, etc.) or the code completion that will move to GPT-4 as well.
If it isn't, then Copilot has previously used OpenAI Codex (which is based on GPT-3)