Fix copy temporary folder

This is needed to copy just the contents of temporary folder, instead of the folder itself.