add copyFile & copyDir