java中的System.copyof()与Array.copyof()区别 在复制数组时我们可以使用System.copyof(),也可以使用Array.copyof(),但是它们之间是有区别的.以一个简单的例子为例: System.arraycopy() int[] arr = {1,2,3,4,5}; int[] copied = new int[10]; System.out.println(Arrays.toString(copied)); System.arraycopy(arr,…