The basic premise of magic is that the macrocosm is reflected in the microcosm.
You can change the outer world through changing your individual self just as you can alchemize objects to change their outer manifestation.
Magic - from magike, "art of influencing or predicting events and producing marvels using hidden natural forces” is the art of influencing and manipulating maya (illusion). Ironically the play magicians create illusions and the real magicians (Tantrics, yogis) break down illusions.
Christ was a magician. Buddha was a magician. Moses was a magician. All gurus are magicians.
By linking ones individual consciousness to supreme consciousness one becomes an alchemist.
You can use inner magic to create outer magic; you can transform your circumstances into blessings physically and spiritually.
The greatest form of magic is nirvana,
samadhi, kaivalya - enlightenment.