总结:理解理解。重要啊
package com.a; import java.util.Arrays; public class FJKDLS { public static void main(String[] args) { int[] a = { 12, 3, 35, 43 }; int b[] = new int[a.length]; System.arraycopy(a, 0, b, 0, a.length); for (int i = 0; i < b.length; i++) { System.out.println(b[i] + " "); } System.out.println(); } }