I want to copy and move (or paste) the file into folder like backup program. 
But I don't know what to do :( 
I tried shutil.copy2(filename, example) but I couldn't use it on another environment because I didn't know A.
import os 
import shutil 
from tkinter import *
from filedialog import *
def func_open() :
    global filename
    filename = askopenfilename(parent = window, filetypes = (("SMI", "*.smi"), ("All", "*")))
    A = os.path.basename(filename)
I used tkinter function. and func_open is works by pressing button.
 
    