This function will automatically copy files from the Task directory to the Raw data directory
a directory of task folders
a directory where raw data files are to be copied to
a string pattern identifying a specific type of raw data file (e.g. .edat2).
optional. do you want to copy files to a sub folder within the `to = ` directory?
Relationship between task name and task folder name. Default is "none". Alternative options are; "numbered", "asis".
logical. Should the files in the 'from' directory be deleted? (Default: FALSE)
logical. Do you want to copy the files? (Default = TRUE)
"no" (default), "yes", or "skip". "no" will copy over the file but append the file with "DUPLICATED". "yes" will overwrite the file. "skip" will not copy the file over.
a character vector of task folders to ignore
logical. Should the function search for files recursively?