Full AWS Practitioner Certification Question

You are refactoring a legacy project with repetitive code. You plan to use GitHub Copilot to extract common logic into reusable helper functions while ensuring functionality and efficiency. Which approaches would best enhance your refactoring workflow? (Select two)