Use slice capacity correctly when copying search paths

This keeps replies from clobbering the data from previous ones and
resolves some output errors.