string s = "helloSundayMorning";
//string[] destinationString = s.Split(' ');
char[] destination = s.ToCharArray();
string m = "nothing to happen!";
char[] marray = m.ToCharArray();
s.CopyTo(0, marray, 8, 5);
Console.WriteLine(marray);
String.CopyTo()方法的参数理解:将String替换到一个字符数组里面,因为是替换,所以不能让替换后的字符数组比现在的字符数组长,否则会报错。