Manually copy the array instead of using `slice`
Remove some parens from the examples.