change extention to lowercase for copy