made small change to memcpy of in mfs