how to copy a string into a char array code example
Example: change string to char array
String myString = "Hello, world!";
char[] myCharArray = myString.toCharArray();
String myString = "Hello, world!";
char[] myCharArray = myString.toCharArray();