Avoid mempcpy in the regex code, as the string.h mempcpy stuff