You're missing the '$' variable indicators in your first copy command. It has to be
code:
copy $source $target

Please read in the KiXtart Manual how variables are used in KiXtart.
_________________________
There are two types of vessels, submarines and targets.