Debug.output("DTEDAdmin copying " + file.getAbsolutePath()
+ " to " + outputFile.getAbsolutePath());
}
BinaryBufferedFile input = new BinaryBufferedFile(file);
RandomAccessFile output = new RandomAccessFile(outputFile, "rw");
byte[] bytes = new byte[4096];
int numBytes = input.read(bytes);
while (numBytes > 0) {
output.write(bytes, 0, numBytes);
numBytes = input.read(bytes);
}
input.close();
output.close();
} catch (FormatException fe) {
continue;
} catch (IOException ioe) {
continue;