srvmgr: Fix issue with memcopy