Moved import copy

Moved `import copy` to other imports for consistency.