Copy the correct buffer when handling incoming write requests.