title: Google script Create new sheet file and move it to a specific folder Then copy the contents and 2 tabs from the active sheet to the newly created file
body: <p>Welcome: I will not go into the code at the beginning, but I would like to ask a few questions. To learn the logic of operation.</p>
  
  <p>Question 1:</p>
  
  <p>When I create a new file using the function</p>
  
  <pre><code>var newFile = SpreadsheetApp.create("Name new sheets")
  var newFileId = newFile.getId()
  </code></pre>
  
  <p>A new file is always saved to the root directory of the google disk?</p>
  
  <p>Question 2</p>
  
  <p>If I always write root directory of the google disk.The only way to move a newly created file is to use </p>
  
  <pre><code>var TARGE_FOLDER_ID = "asdFHd4hasdasn6nJMGLSQt8das331"
  DriveApp.getFileById(newFileId).makeCopy("Name new sheets",TARGE_FOLDER_ID);
  </code></pre>
  
  <p>And after copying the removal from the main google drive folder?</p>