Copy/replace an Application via Terminal
I was wondering what the correct arguments are for copying an App from a location to the /Applications folder. .app files appear to be different than other files in the sense that they are seen in Terminal as "folders" and Terminal doesn't seem to like that very much.
2 questions here:
If I were to copy an app from one location (say, Downloads) to my /Applications folder, what would the correct Terminal cp syntax be?
If there were an older version of the application, what would I need to add in to tell Terminal to replace the existing App?