Usage
// gulpfile.js var gulpCopy = require('gulp-copy'); var sourceFiles = [ 'source1/*', 'source2/*.txt' ]; var destination = 'dest/'; return gulp .src(sourceFiles) .pipe(gulpCopy(outputPath, options)) .dest(destination);