What are you saying there is not an example of? We have observed how mutations to genes in DNA happen. What we have not observed is the natural formation of DNA (or origins of life).
And none of them are responsible of whole new set of codes. Only tweaking or merging existent code or the removal of.