lib: Vector#toArray