In the alloys elements of different metals are mixed on the atomic level. Metal composites consist a variety of phases, each of which consists of a plurality of one type of atoms.
In order to extract gold from alloys or compaunds, there are many chemical methods based on differences in the chemical properties of gold and other metals of the alloy. Everything depends on what kind of alloy. Different alloys - different ways.