Contact[] sk = new PolygonAndCircleContact[argSize];
for (int i = 0; i < argOld.length; i++) {
sk[i] = argOld[i];
}
for (int i = argOld.length; i < argSize; i++) {
sk[i] = new PolygonAndCircleContact(pool);
}
return (PolygonAndCircleContact[]) sk;
} else {
PolygonAndCircleContact[] sk = new PolygonAndCircleContact[argSize];
for (int i = 0; i < argSize; i++) {
sk[i] = new PolygonAndCircleContact(pool);
}
return sk;
}
}