Hi Akoalex,

To answer your question, the second person means that "Yes, I'd like to go with you to the swimming pool". He or she is basically just agreeing with the idea.
I hope that helps. ...