Delete the following folders inside the copied project (they will be regenerated automatically):

bash
Copy
Edit
.dart_tool/
.idea/
build/
windows/flutter/ephemeral/
pubspec.lock