The fastest and easiest way is via Subway. Take the R, 2, 3, 4, or 5 trains to the Brooklyn Borough Hall/Court Street stop. From Times Square, the train ride takes about 40 minutes.