fix folder copy in task