Text this: Tailoring atomic diffusion for in situ fabrication of different heterostructures