For legal research, you can visit Cornell Law Library or Syracuse University Law Library.
The New York State Unified Court System also has public access law libraries in each county (the closest is in the Cortland County Courthouse across the street from Cortland Free Library).
Check with individual libraries regarding hours, circulation and access policies (interlibrary loan services may not be available through New York State court law libraries).