add copy symbol function to !define