Formation of photo-reactive heterostructure from a multicomponent amorphous alloy with atomically random distribution