title: Google Drive App - Method makeCopy (string, string) not found
body: <p>Using Google Apps Script I get an error <code>"Method makeCopy(string,string) not found"</code> when the below function is invoked. However I cannot see my mistake. The auto-completition feature of the Google Apps Script even offers the method.</p>
  
  <pre><code>function createDuplicateDocument(sourceId, name) {
      var source = DriveApp.getFileById(sourceId);
      var newFile = source.makeCopy(name, TARGET_FOLDER);
  
      return DriveApp.getFileById(newFile.getId());
  }
  </code></pre>
  
  <p>(The variable <code>TARGET_FOLDER</code>is a global var.)</p>
  
  <p>Does anyone of you have an idea?</p>