vec_pushm to push all the elements from an array