Arrays.copyOfRange()方法: Arrays.copyOfRange(T[] arr, int from, int to) 将一个数组arr,从from开始复制,复制到to,生成一个新的数组 注意: 是左闭右开区间, 即包括from, 不包括to