title: Google Apps Script Duplicate A File
body: <p>I am simply trying to duplicate an open sheets file. I tried so many variation without success. The below is an example. Would value any assistance. Thank You. </p>
  
  <pre><code>function copyDocs() {
      var file = DriveApp.getFilesByName('My Income Statement');
      file.makeCopy();
  }
  </code></pre>