If we assume a cylidrical serface inside a conductor and some cherge exist inside the surface , an electric field exist according to gauss law. So the electric field forces the electrons which exists outside the surface we assume and the electrons move toward the surface of the conductor