將計就計

Idiom

 * 1) to turn somebody's trick against him; to beat somebody at his own game