title: Create copy of file in my Drive and place in another user's Drive on the same domain
body: <p>How do I make it so when an employee runs the script to create copies of the file and distribute them to other folders, it can also place them in folders on other employees' Drives? We are on the same domain and use G Suite.</p>
  
  <p>My script is for a timesheet. It is supposed to:</p>
  
  <ol>
  <li>create a copy, append the name with the userid and timestamp, and then place the copy in a folder on the employee's Drive so they have a copy,</li>
  <li>repeat this and place the second copy in a folder on my Drive so I have a copy without the employee having to share it, and so the employee cannot later edit my copy</li>
  </ol>
  
  <p>It worked well when I was testing it myself. Then, I shared it with a colleague on the same domain, and with my personal Google account. We both created a copy on our Drives (his work Drive, my personal Drive). Then, we were no longer working from the original. This is intentional because I don't want employees touching the original. When we ran the script, it failed to create a copy on our Drives or my work Drive.</p>
  
  <p>"Exception: No item with the given ID could be found, or you do not have permission to access it."</p>
  
  <p>here is my code so far:</p>
  
  <pre><code>function submit() {
    //variables
    var ss = SpreadsheetApp.getActive();
    var destFolderMgr = DriveApp.getFolderById(my folder id is here);
    var destFolderEmp = DriveApp.getFolder;
    var empName = Session.getActiveUser()
    var timeStamp = Utilities.formatDate(new Date(), ss.getSpreadsheetTimeZone(), 'MM-dd-yyyy');
    var newName = ss.getName() + " " + empName + " " + timeStamp;
  
    //copy sheet
    //append name with today's date and employee name
    //place in employee's folder
    DriveApp.getFileById(ss.getId()).makeCopy(newName,destFolderEmp)
  
    //copy sheet
    //append name with today's date and employee name
    //place in manager's folder
    DriveApp.getFileById(ss.getId()).makeCopy(newName,destFolderMgr)
  
  }
  </code></pre>