generator.py: Removed unused 'import copy'