Refactor: CTS: Add a function for copying an existing CIB file.
Certain command line regression tests take an existing CIB file and copy
it so they can make modifications to it without messing up the version
in the source tree. This function enables that and can be passed to
TestGroup as the cib_gen= parameter when the group is defined.