copy element from array to string java code example Example: java srting array to string Arrays.toString(charArr);