copyDatasetFiles function

Copy the files of a dataset