The formation of the texts of Confucius and Mencius of course is older than that. The Qin book-burning destroyed a lot of the books that were that old, but bamboo manuscripts and silk manuscripts are still being discovered from archeological sites that are much older than any surviving writings from India. I have personally read in museums bronze inscriptions that are more than just a few sentences long, dating back about three millennia.
The Qin book-burning was mainly what I was referring to, but I didn't know there was significant recovery of bamboo or silk manuscripts going on (such material does not generally last 2,000 years without unusual environmental conditions).
I've also seen the long-form bronze inscriptions in museums - but those are the exceptions. That's why they're in museums ;)
http://blog.seattlepi.com/bookpatrol/2010/01/29/rare-bamboo-...
https://en.wikipedia.org/wiki/Mawangdui_Silk_Texts
https://en.wikipedia.org/wiki/Bamboo_and_wooden_slips