Fixed image copy task.
Moved methods from Swig task config  into Swig task.