Hw do you bread Pokemon in Pokemon LeafGreen?

first u have to have access to 4 island, and u have to haave a ditto. U put ditto and the Pokemon u want to clone in the daycare. wait till he gives u an egg, and when the egg will hatch into the Pokemon u put in with ditto.(does not work for legendaries)