async function copy(cb) {
    return gulp
        .src([...srcPaths.static, ...srcPaths.images, ...srcPaths.fonts], {
            base: "./src"
        })
        .pipe(gulp.dest("dist"));

    cb();
}
// Copy demo, img, js, fonts folders from src to dist
Copy demo, img, js, fonts folders from src to dist
Copy demo img js fonts folders from src to dist
async function copy(cb) {
    return gulp
        .src([...srcPaths.static, ...srcPaths.images, ...srcPaths.fonts], {
            base: "./src"
        })
        .pipe(gulp.dest("dist"));
    cb();
}
async function copy ( cb ) { return gulp . src ( [ ... srcPaths . static , ... srcPaths . images , ... srcPaths . fonts ] , { base : "./src" } ) . pipe ( gulp . dest ( "dist" ) ) ; cb ( ) ; }
Copy demo, img, js, fonts folders from src to dist
Copy demo img js fonts folders from src to dist