Array, List and collection convertion