Trying to match $1 in output.txt with $1 probe.txt, when a match is found in $6 of probe.txt the text in $5 of output is copied.
For example, the first record in output.txt is A_16_P32713632 and that matches row 19318 in probe.txt, so in the 6 field (after 0.940798) of row 19318 ACTA2 is copied (that is the text in $5 of output).