Remove Build Error

warning: argument to 'sizeof' in 'memcpy' call is the same pointer type