While I do understand all of the scepticism in this thread, I have to say that I am personally amazed by GitHub Copilot.
I am just ramping up in a new company working on web development with Angular and Spring Boot. Even though I have 0 experience with this and have a background in python and C++, I got productive extremely quickly thanks to Copilot. Of course it does not work without flaws and you still need programming knowledge to wirte proper prompts and fix smaller issues in the resulting code. But without it I would be much further behind. It was even able to fix some issues in the html just based on a description of the issue I am observing in the webpage.
I do not think it will replace all programmers, but I do think it will replace some low level programmers who did repetitive tasks as the good programmers are extremely accelerated by only having to type subsets of what was needed before.
There will still be people who are able to rapidly learn with AI on their side and people who fail to do it. The fast ones are able to focus much more on the underlying problems and less on language specifics. The definition of low level and high level programers will change in the context of AI. Nobody today is implementing a linked list outside of university and in the future nobody will be needed to write the repeated code which still is needed in a lot of frameworks.
But of course there might the point of a critical collapse if AI only learns from its own code and inefficient code gets repeated constantly.