Changing toAry to toArray

Making this function name more readable