The department of corrections is given all the rights and powers that an individual or corporation now has under the laws of the state, or of the United States, to acquire the rights-of-way over, upon, and to any lands necessary for it to use or occupy in the construction and maintenance of said ditches, canals, reservoirs, or feeders.