On their website they say that "GitHub Copilot is a code synthesizer, not a search engine: the vast majority of the code that it suggests is uniquely generated and has never been seen before. We found that about 0.1% of the time, the suggestion may contain some snippets that are verbatim from the training set." So it won't copypaste your code. It had just read code from open sources and learned from it - similar to w…
You might want to check out this video...