String messageFileName = getMessageFileName(emailID);
String indexErrorFileName = getIndexErrorFileName(emailID);
try {
in = new FileInputStream(messageFileName).getChannel();
out = new FileOutputStream(indexErrorFileName).getChannel();
in.transferTo( 0, in.size(), out);
} catch (Exception e) {
throw new MessageStoreException("failed to copy suspect message to noindex queue {src='"+messageFileName+"=',dest='"+indexErrorFileName+"'",logger);
} finally {
if (in != null) try { in.close(); } catch (Exception e) {};