Fix bugs with syscall trace record data copies