"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.copyFolder = void 0;
const fsPromises = require("fs/promises");
const fs = require('fs-extra');
// Delete a directory and its children 
const copyFolder = (sourcePath, destPath) => {
    fs.copySync(sourcePath, destPath, { overwrite: true }, (err) => {
        if (err) {
            console.error(err);
        }
        else {
            console.log("Copy dir success!");
        }
    });
};
exports.copyFolder = copyFolder;
