Print Statuscode in example
Use memcpy instead of strncpy