Copy files and directories
Add temp file to manage empty directory