how to refactor code in copilot - Search