Gulp Copy content from one file to another file
<p>I am trying to copy the content from one file to another. I am trying the following code but its throwing me an error.</p>

<pre><code>gulp
    .src('core/core.config.local.tpl.js')
    .pipe(gulp.dest(core/core.config.js));
</code></pre>

<p>Error: EEXIST: file already exists, mkdir 'C:\Users\krish\Documents\test\app\core\core.config.js'
    at Error (native)</p>

<p>Is there any other process that I could use to copy content?</p>