// the two match! Skip over the portion of the current log
// that already appears in the historical log file.
int duplicateLen = histLog.length - lastLogEntryPos;
int skip = duplicateLen - matchLen;
if (skip > 0)
currentLogIn.skip(skip);
} else {
// the two do not match. Start a new entry in the historical
// log file, and write the first bytes of the current log
newBackupOut.write(HIST_SEPARATOR.getBytes());
newBackupOut.write(currLogStart, 0, matchLen);