title: error when compiling shitil with pyinstaller
body: <p>Pyinstaller &amp; shutil [function copy] problem !</p>
  
  <p>hi I'm trying to convert a .py code into .exe 
  actually my code is similar to that : </p>
  
  <pre><code> dr  = os.environ['WINDIR']
      current = os.path.abspath(__file__)
      shutil.copy(current, dr)
  </code></pre>
  
  <p>as we can see the code copy the current fine to windows file (this is just an example )  ; the code actually works fine but if we compile it into exe and run it we will see  . </p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;string&gt;", line 13, in &lt;module&gt;
    File "C:\Documents and Settings\john\Desktop\pyinstaller\pyinstaller-2.0\test
  \build\pyi.win32\test\out00-PYZ.pyz\shutil", line 119, in copy
    File "C:\Documents and Settings\john\Desktop\pyinstaller\pyinstaller-2.0\test
  \build\pyi.win32\test\out00-PYZ.pyz\shutil", line 82, in copyfile
  IOError: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\john
  \\Desktop\\pyinstaller\\pyinstaller-2.0\\test\\dist\\test.py'
  </code></pre>
  
  <p>the error is from function copy because it doesn't find test.py in \test\dist\test.py  . </p>
  
  <p>any solutions ?  </p>
  
  <p>i tried  : </p>
  
  <pre><code> dr  = os.environ['WINDIR']
      current = os.path.abspath(__file__)
      newfile = current.replace('py','exe')
      shutil.copy(current, dr)
  </code></pre>
  
  <p>but it still say </p>
  
  <pre><code>IOError: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\john
  \\Desktop\\exeinstaller\\exeinstaller-2.0\\test\\dist\\test.exe'
  </code></pre>