If I use Apple Tv as a separate display on Mavericks will it transfer sound
AirPlay mirroring sends video and sound to the connected device.

You can over-ride the sound if needed by selecting an alternate output as well as just send sound to any AirPlay receiver as well.

This is how AirPlay has worked since it started with sound and the video mirroring support keeps adding features as time goes by.