Vector2: Added array and offset to toArray()