How did ancient Egyptians get water out of the nile?

They used the Archimedes Screw