title: copying files with gulp
body: <p>I have an app. My app source code is structured like this:</p>
  
  <pre><code>./
    gulpfile.js
    src
      img
        bg.png
        logo.png
      data
        list.json
      favicon.ico
      web.config
      index.html
    deploy
  </code></pre>
  
  <p>I am trying to use Gulp to copy two files: ./img/bg.png and ./data/list.json. I want to copy these two files to the root of the deploy directory. In other words, the result of the task should have:</p>
  
  <pre><code>./
    deploy
      imgs
        bg.png
      data
        list.json
  </code></pre>
  
  <p>How do I write a Gulp task to do this type of copying? The thing that is confusing me is the fact that I want my task to copy two seperate files instead of files that fit a pattern. I know if I had a pattern, I could do this:</p>
  
  <pre><code>var copy = require('gulp-copy');
  gulp.task('copy-resources', function() {
    return gulp.src('./src/img/*.png')
      .pipe(gulp.dest('./deploy'))
    ;
  });
  </code></pre>
  
  <p>Yet, I'm still not sure how to do this with two seperate files.</p>
  
  <p>Thanks</p>