Local array to vector