Copy the folder structure from one dataset to another.
copyFolders(source, target)
the dataset you want to copy the order from
the dataset you want to copy the order to
returns the target dataset with source's folder structure
if (FALSE) {
ds <- copyFolders(ds1, ds)
}