Hopefully this question has not already been answered. I have spent a considerable amount of time searching, and although I have found similar posts, none have done exactly
If you want to duplicate a sheet of a particular spreadsheet, you can use:
SpreadsheetApp.getActiveSpreadsheet().duplicateActiveSheet();
This will create a copy of your current sheet and make that copy as active.
duplicateActiveSheet()