clang-tidy (bugprone-not-null-terminated-result) took the memcpy into the result string for a C string missing its terminator. std::copy is the same memmove; to_string() instructions are unchanged (Apple clang). Signed-off-by: Niels Lohmann <mail@nlohmann.me>