copy_example_data function

Internal function to copy the example dataset when a new data path is set