B/conf: OSX complained about overlapping strcpy, replaced with memmove