@REGCOPYKEY[HKEY...\key, targetkey] : Recursively copy the specified key and all of its subkeys to the target key. Returns 1 if the key was copied, 0 otherwise. The key names must be enclosed in double quotes if  they contain any separator characters (space, comma, or tab).


Both keys must be in the same root (HKCR, HKCU, HKLM, HKU, or HKCC).


If you are running a 32-bit version of TCC in a 64-bit version of Windows, you can access the 64-bit registry instead of the 32-bit registry by appending "_64" to the HKEY name.


If the key name begins with \\machinename, @REGCOPYKEY opens the registry on a remote machine. The remote registry service must be running on the remote machine, and you must have access and permissions. The HKEY parameter can be one of the following keys:






Note: If you are copying a very large tree, this function can take several minutes to finish. (This is a Windows issue, not TCC.)

See @REGCREATE for information on the format of the key name.