StringBuffer sb =new StringBuffer(); for(int i=0;i<list.length;i++){ sb.append(list[i]); } String arr2=sb.toString();