Using area surveillance cameras, cops were able to track Cu all the way to his apartment building on 165th St., prosecutors said. Detectives staking out the building arrested him on Tuesday.

As they interrogated him, he admitted to sex with his victim and identified himself in surveillance photos, prosecutors said.

The Queens Defenders, which represented Cu at his arraignment, declined to comment when reached, citing the ongoing case.