add copy file method for FileUtils