Now to copy content must define a filename not a directory

To copy content you must define the filename instead of create a temp file.