I've seen a lot of PG's interviews where he literally says "Don't worry about competition". Dropbox released at a time when Google Drive was looming in the horizon. Still they succeeded. It's the execution that matters.
honestly though there was a pretty large gap between the time Dropbox came out and Google Drive did though, Dropbox was already established and had a large user base when Google Drive launched