Fixed another issue in copy method. Function was checking the existence of dataSourceFile in the old workspace and not the new.