mv to_array util
index: there's no global use