like this: (copy-sequence seq &optional from to). 'from' and 'to' mean the same as in the function 'substring'.