Added --copy flag to allow copying files instead of moving