Unify some copy tasks