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