title: Check if files exists (given by command line arguments)
body: <p>I have to a do C program that uses the unix environment.  I have already purchased the "Advancing Programming in the Unix Environment" book and it has helped out a lot so far.  However, some of my questions have gone unanswered and I'm looking for some help.  </p>
  
  <p>I'm trying to write a program that can verify if the first and second arguments entered if a copy program exist.  If the first argument does not exist, then an error message and exit must occur.  If the second argument does exist, then an overwrite prompt must be displayed.  I'm not exactly sure how to verify if a file already exists or not basically.  </p>
  
  <p>I have seen a few people saying that you can do (!-e) or something like that to verify the file existing/not existing. </p>
  
  <p>If anyone could help me, I'd really appreciate it. </p>