Extracts a subset of the elements of an array, as another array. Extracting begins from array offset $offset and continues until the array slice is $length elements long.