Arduino master to arduino slave code not working correctly

Which Arduino is your master?

The String type does not work on small 8-bit controllers.