Since ChatGPT and Github Copilot can't solve all dev problems, the best way to use these AI tools now is by finding scenarios that REALLY can be optimized. And I don't think ChatGPT will replace all the tasks a software engineer needs to do, at least in 5 years.