Moving copyFile function to maven_repo_util