You can take the monorail from Epcot to Magic Kingdom, there is a monorail station right outside the main entrance to Epcot. However it is much faster to take a bus. Taking the monorail, you need to transfer between Epcot and MK. When we did this there was a very long wait at the transfer station.