ignore new memcpy for writing unittest