[GENDLT-20] Fixed bug to use old cmake version for copy file