Copy data folder to external location

Added the possibility to copy the data folder to an external location
after the run has ended.
clean up
Merge branch 'Christian'