I don't know about the state of NY, but the entire federal court system only takes up about 2.5% of the federal budget - when you think about it, it's the least expensive branch of government by far. The flip side, though, is that there are far more cases to be heard at any given time than there are courts and personnel to hear them, and complex technical rules which have to be complied with. It seems very inefficient and arbitrary, but generally all of those rules were created in response to so some failing in the previous version. Every so often the 'legacy code' becomes unmanageable and a relevant part of the law is redrafted or similarly overhauled.
For example, California switched over to a completely new set of jury instructions known as CALCRIM for criminal trials a few years ago, designed to eliminate a lot of unnecessary confusion and legalistic cruft which had accrued to the previous version, known as CALJIC. But even drafting those from scratch takes years. My reference copy of CALCRIM is about 2500 pages over 3 volumes. And that's just criminal - there's a lot more for civil trials. A LOT more.
Think of it like encountering Unix as a complete newbie. You know what computers are for and what they can do, but but actually learning unix at the command line is pretty complicated, no?