When the security guard (played by the magician Ed Alonzo) does his trick making a woman disappear, her shadow can clearly be seen moving when she leaves his spot covered by a jacket hold by the magician.
Barney says he was taught magic by Mr. Flanagan of the Staten Island Mall Magic School, but previously he was taught magic by his father (his Uncle Jerry).