protected void copyMetaData(File destination) throws IOException
{
File propertiesDestination = new File(destination, YoVariableLoggerListener.propertyFile);
Files.copy(properties, propertiesDestination);
File handShakeDestination = new File(destination, logProperties.getHandshakeFile());
Files.copy(handshake, handShakeDestination);
if (model != null)
{
File modelDesitination = new File(destination, logProperties.getModelPath());
Files.copy(model, modelDesitination);
}
if (resourceBundle != null)
{
File resourceDestination = new File(destination, logProperties.getModelResourceBundlePath());
Files.copy(resourceBundle, resourceDestination);
}
if(summary != null)
{
File summaryDestination = new File(destination, logProperties.getSummaryFile());
Files.copy(summary, summaryDestination);
}
}