Copies the file and makes directories that need to be created.
Correctly copying from the source to the destination.