vector->array