How do you get your friend code in Animal Crossing?

Talk to copper then say friend code