toArray

Convert to array with protective copy