Diffusion to the surface in case of weak segregation of binary alloys