string.copyvalueOf(charaterarray); and also choose point to copy with string.copvalueOf(chararray, startindex, stopindex);.In this tutorial, I have explained how to copy character set from an array using the string.copyvalueOf(char array); method.