Yes it is, first I suggest looking at the following documentations.
The above links will tell you about all the methods available for all the classes you will need to do this. Here is a basic example of what you're hoping to acheive.
function copyCells(){
var thisSpreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var theRange = thisSpreadsheet.getRangeByName("YOUR RANGE");
var destinationSheet = thisSpreadsheet.getSheetByName("SHEET TO COPY TO");
var destinationRange = destinationSheet.getRangeByName("YOUR OTHER RANGE");
theRange.copyTo(destinationRange);
}