''

def on_done(self, target_dir_path):

    if os.path.isdir(target_dir_path):
        file_path = self.view.file_name()
        dir_path = os.path.dirname(file_path)
        dir_name = os.path.basename(dir_path)
        ptfm_path = stino.selected.get_build_platform_path(stino.arduino_info)
        cmd_file_path = os.path.join(ptfm_path, u'platform.txt')
        cmd_file = stino.plain_params_file.PlainParamsFile(cmd_file_path)
        cmds_info = cmd_file.get_info()
        bin_file_pattern = cmds_info.get(u'recipe.output.save_file', u'')
        if bin_file_pattern:
            bin_file_ext = os.path.splitext(bin_file_pattern)[(-1)]
            board_info = stino.selected.get_sel_board_info(stino.arduino_info)
            build_board = board_info.get(u'build.board', u'')
            build_mcu = board_info.get(u'build.mcu', u'')
            bin_file_name = (u'%s_%s_%s%s' % (dir_name, build_board, build_mcu, bin_file_ext))
            bin_file_path = os.path.join(dir_path, bin_file_name)
            if os.path.isfile(bin_file_path):
                target_path = os.path.join(target_dir_path, bin_file_name)
                do_copy = True
                if os.path.isfile(target_path):
                    msg = (u'%s    exists.    Continue?' % target_path)
                    result = sublime.yes_no_cancel_dialog(msg)
                    if (result == sublime.DIALOG_YES):
                        os.remove(target_path)
                    else:
                        do_copy = False
                if do_copy:
                    shutil.copy(bin_file_path, target_path)
