contents = new FluidTankInfo[originalInfo.length];
for (int i = 0; i < contents.length; i++) {
if (originalInfo[i] != null) {
if (originalInfo[i].fluid != null) {
contents[i] = new FluidTankInfo(originalInfo[i].fluid.copy(), originalInfo[i].capacity);
} else {
contents[i] = new FluidTankInfo(null, originalInfo[i].capacity);
}
}
}
}