Debug temp file copy