support convert array of base type