On the trigger of a form submission, I have created a copy of a sheet. I can't figure out how to save that copied sheet in a specific folder. Once the copy is created, I've tried calling the folder then saving the copied sheet to that folder.
//Copying the sheet (triggered by a form submission)
var copyOfSheet = SpreadsheetApp.openById(Id.of.sheet.I.am.copying).copy(name of sheet);
//Grabbing the folder I want to save to
var specificFolder = Drive.App.getFolderById(folderID.in.quotes);
//saving the copy to that folder (This is the part that I think is wrong but I'm not sure how to fix)
specificFolder.addFile(copyOfSheet);
The goal is that the file would save in this specific folder instead of my general drive. Instead I am getting a not a function error.