Use memcp for string comparisons to be \0 safe