code: async function copy(src, dist) {
      let stats = await stat(src),
          files;
  
      // 处理文件
      if (!stats.isDirectory()) {
          return await copyFile(src, dist);
      }
  
      // 生成目标路径
      if (!await stat(dist)) {
          await local.mkdir(dist);
      }
  
      // 读取文件夹
      files = await local.readdir(src);
  
      // 处理文件
      await Promise.all(files.map(file => (
          file === 'node_modules' ? Promise.resolve() : copy(path.resolve(src, file), path.resolve(dist, file))
      )));
  }
docs: ****************************************
  复制目录
  ****************************************