copy binary of the Query string to improve GC

Copy the Query string from the regexp match from the ftp log so that the larger ftp log binary is garbage collected more quickly.