Merge "Fix the arguments to memcpy." into mnc-dev