Fixes the copy task