Added option to allow copying files instead of moving them.