You may want to use clone:
a = b.clone();
or use arraycopy(Object source, int sourcePosition, Object destination, int destinationPosition, int numberOfElements)
System.arraycopy(b, 0, a, 0, b.length());
You may want to use clone:
a = b.clone();
or use arraycopy(Object source, int sourcePosition, Object destination, int destinationPosition, int numberOfElements)
System.arraycopy(b, 0, a, 0, b.length());