title: How do I copy directories recursively with gulp?
body: <p>I am trying to stage a project from a working directory to a server (same machine). Using the following code:</p>
  
  <pre><code>gulp.src([
      'index.php',
      'css/**',
      'js/**',
      'src/**',
  ])
  .pipe(gulp.dest('/var/www/'));
  </code></pre>
  
  <p>I would expect to see all the files copied. However it flattens the dir structure - all directories are copied but every file is placed in the root <code>/var/www</code></p>
  
  <p>Gulp seems like a great build tool but copying items should be a simple process surely?</p>