The smoke and mirrors behind David Copperfield’s world-famous illusions will be revealed in open court if a Manhattan lawyer has his way.

A British tourist is suing Copperfield, saying he suffered brain damage during a stunt gone awry, and his lawyer is threatening to finally lift the curtain on the magician’s secrets at trial.

“I’m going to have a good time questioning Mr. Copperfield, because he may try, but I’m not going into any box,” quipped the lawyer, Benedict Morelli.

“I do believe that certain secrets are going to come out.”

According to the lawsuit, Morelli’s client, Gavin Cox, 57, had gone to see his illusionist “idol” at the MGM Hotel and Casino in Las Vegas for his birthday in 2013.

When Copperfield plucked him out of the audience for a disappearing act, Cox said he was thrilled.

Gavin Cox with his son in 2012

But then Copperfield’s assistants hustled Cox and other participating audience members through a dark secret passageway as part of the stunt, and the plaintiff tripped and fell on construction debris, slamming his head on the ground, the suit says.

“People were saying to him, ‘Mr. Copperfield, this man’s been hurt,’ ” Cox told The Post. “And Mr. Copperfield looked at me and smirked. He just walked away. He never showed any concern for me.”

Cox, who once cooked for British royalty, said he can’t even bake a muffin now.

“It’s turned my life upside-down,” he tearfully said of the incident. “I have pretty much constant pain, and my difficulty is my short-term memory.

“I have a ventilator,’’ Cox added. “Otherwise, I stop breathing at night.”

According to Forbes, Copperfield conjured up $64 million in earnings in 2016 alone.

“He supposedly is the most successful magician in the world,” Morelli said.

And he claimed he has a few tricks up his sleeve — and plans to use Copperfield’s “own words” to show that he’s more of a trickster than a magician.

Copperfield’s lawyer, Theodore Blumberg, told The Post that the illusion at issue “has been performed successfully for over 15 years with over 100,000 audience participants. The history of the show speaks for itself.”

He declined to comment on specific allegations or Morelli’s threat to expose the magician at trial in October.

For now, the conjurer’s methods are protected, as a judge sealed documents related to the illusions after finding that they were proprietary information.