您可能要使用
clone:
a = b.clone();
或使用
arraycopy(Object source, int sourcePosition, Object destination, intdestinationPosition, int numberOfElements)
System.arraycopy(b, 0, a, 0, b.length());

您可能要使用
clone:
a = b.clone();
或使用
arraycopy(Object source, int sourcePosition, Object destination, intdestinationPosition, int numberOfElements)
System.arraycopy(b, 0, a, 0, b.length());