In performing a function within their respective jurisdiction and powers as elsewhere provided in this act, the sheriff of the city of New York and the city marshals shall be allowed and paid the same fees to which a sheriff would be entitled for like services in supreme court.
N.Y. New York City Civil Court Law § 1915