Fixing copy operation