function copySmhValues()
{
//Get source range
var source = SpreadsheetApp.openById('source ID'); //Different spreadsheet
var sourceSheet = source.getSheetByName('current'); //Sheet tab with source data
var startRow = 27; // First row of data to process
var numRows = 1; // Number of rows to process
var startCol = 8; //First column of data to process
var numCols = 14; // Number of columns to process
var dataRange = sourceSheet.getRange(startRow, startCol, numRows, numCols);
// Fetch values for row in the Range.
var data = dataRange.getValues();
var d = SpreadsheetApp.getActiveSpreadsheet();
var getdestinationsheet = d.getSheetByName('smh');
// get destination range
var destination = getdestinationsheet.getRange(getdestinationsheet.getLastRow()+1,8,1,14);
// copy values to destination range
d.copyTo(destination);
}