📅  最后修改于: 2022-03-11 14:52:17.544000             🧑  作者: Mango
int [] basedata = new int[10];
int [] original = basedata;
basedata = new int[12];
for(int i = 0; i < original.length; i++){
basedata[i] = original[i];
}