public static MemoryLog CloneMemoryLog() { var _memoryLog = new MemoryLog(); if (memoryLog != null) { _memoryLog.CopyFromMemoryLog(memoryLog); } else { _memoryLog.CopyFromFile(FileUtils.log_file(0)); } return(_memoryLog); }