Near to Magnet Train Station (Saffron city), there is a house where a family and their daughter(Copycat) live in there. Talk to the girl and she will ask you to bring her a doll. Go to Vermilion city and visit the house above the gym. They will give you a doll. Go back to the girl and exchange the doll for rail pass. Hope i helped.