create a slice from this array's elements at index 'from' (included)
up to 'to' (excluded).
NYI: array.slice should better return an array containing a slice of
create a slice from this Sequence that consists of the elements starting at index
from (including) up to index to (excluding).