You need to get a range reference first and then use the moveTo()range method . Google Documentation - moveTo ()
This is sample code from the documentation:
var sheet = SpreadsheetApp.getActiveSheet()
sheet.getRange("A1:E").moveTo(sheet.getRange("F1"));
source
share