title: Gulp: copy files from multiple folders into one
body: <p>I have a gulp task:</p>
  
  <pre><code>var src = ["Scripts/App/Components/**/*.png"];
  
  gulp.task("images", function () {
      return gulp.src(src)
          .pipe(gulp.dest("build/"));
  });
  </code></pre>
  
  <p>This code generates a tree structure:</p>
  
  <pre><code>/build
      /Component1
           c1-1.png
      /Component2
           c2-1.png
           c2-2.png
  </code></pre>
  
  <p>But what if I want to merge directories so that all images are in the <code>/build</code> directory:</p>
  
  <pre><code>/build
      c1-1.png
      c2-1.png
      c2-2.png
  </code></pre>
  
  <p>How do I achieve this using gulp?</p>