Arrays to slices