結果 : how to convert string to char array in java without using library functions