I'm not exactly sure where to put it. Since there's no other functions which are similar to it right now. Perhaps into ArrayUtils?