I want take data upto 10 kb from one device serially and send that data to pc serially using arduino is it possible?

You can send as much data as you like through a serial port, but not with that code, it won't work.

See Serial Input Basics - updated for advice on using serial.