Question: what is the difference between shutil.copy() and shutil.copytree()?
Answer: src and dst are path names given as strings. Identical to copy() except that copy2() also attempts to preserve file metadata. copy2() uses copystat() to copy the file metadata. ... Permissions and times of directories are copied with copystat() , individual files are copied using shutil.