code: async function copy(templateProject, dirPath) {
    const globOptions = {
      cwd: templateProject,
      nodir: true,
      dot: true,
    }
  
    const allFiles = await _.globSync('**/*', globOptions)
  
    for (let i = 0, len = allFiles.length; i < len; i++) {
      const filePath = allFiles[i]
      // eslint-disable-next-line no-await-in-loop
      await _.copyFile(path.join(templateProject, filePath), path.join(dirPath, filePath))
    }
  }
docs: 拷贝所有文件