尝试使用 fs.cp() 将目录复制到非目录(文件、符号链接等)。
fs.cp()
An attempt was made to copy a directory to a non-directory (file, symlink, etc.) using fs.cp().