revised memcpy of cs352proxy.c:68