Simplify file copying in general.