Tools: fix qfs tool missing destination name resize in copy functor by moving all resize before return invocations into one place at the beginning of the function call operator, and storing the destination name size in the functor's instance variable.