Fixed wrong copy sizes in cChunkData.
Fixed test return values.