implemented progress bar for copy and import