I've seen an e34 with e38 headlights. How cuuld i put 2001 e38 lights on the e34?

Im only wondering because i need to redo the front end anyways, might as well try to do some upgrades.