数组扩容
String[] str1 = { "1", "2", "3" };
String[] str2 = { "4", "5", "6" };
int str1Length = str1.length;
int str2length = str2.length;
str1 = Arrays.copyOf(str1, str1Length + str2length);// 数组扩容
System.arraycopy(str2, 0, str1, str1Length, str2length);
System.out.println(Arrays.toString(str1));