Automatizzare il Refactoring del Codice con GitHub Copilot e GPT-4