arraycopy
public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length)
src
- the source array.
srcPos
- starting position in the source array.
dest
- the destination array.
destPos
- starting position in the destination data.
length
- the number of array elements to be copied.
利用数组拷贝从数组中删除元素
利用数组拷贝实现数组的扩容