Due to the Fick law, in the junction, the electrons move spontaneously from the semicondtcutor doped n to semiconductor dope p. At the same time, the holes from the semicondcutor doped p to semiconductor doped n. this phenomenon generates the diffusion current. Now, what about the drift current?