HarwareSerial.h

I am using software serial to make port pin of arduino collect serial data.

Then why is HardwareSerial.h/.cpp relevant? You need to post code for both the sender and the receiver, so we can see what you are doing.