fix bug in CopyLogs