Added back cscope_gen copy function.
Signed-off-by: osolong <rafaelrdzc@gmail.com>