title: Gulp - copy and rename a file
body: <p>I'm extremely new to Gulp.  I'm basically trying to watch for a modified JavaScript file, and then make a new copy of it with a new name.  (eventually there'll be some processing on it, but Rome wasn't built in a day).</p>
  
  <p>My (naive) attempt is this:</p>
  
  <pre><code>gulp.task('default', function() {
  
      return gulp.watch('../**/**.js', function(obj){
          gulp.src(obj.path)
              .pipe(gulp.dest('foobar.js'));
      });
  
  });
  </code></pre>
  
  <p>This takes the modified file and successfully copies it into a folder now called foobar.js.  Is there anything simple I can replace <code>gulp.dest('foobar.js')</code> with that will simply copy and rename the src file in place?</p>
  
  <hr>
  
  <p>EDIT</p>
  
  <p>By copy in place, I mean I want to take the modified file, and make a copy of it right <strong>where it currently is</strong> with a new name.  The equivalent of clicking the file (in windows) and hitting control-c control-v, then renaming the resulting file.</p>