Add COPY_TO_BUILDDIR option for the CTest driver script.