Copy the directory structure from the temporary directory to the output directory.