Just wanted to expand on astrogeek's spot on info.
The redirect in your post only changes http:// URLs to https:// URLs.
As mentioned, no consideration is given to the pre-existing or old URLs,
and old bookmarks from your current audience will get 404 not found errors
as well as any links from other web sites.
Also, search engines like Google, Bing,.. will keep all your old pages in their
index for a significant amount of time (Days, Weeks, Months, ...) after they are
gone and except for your home page there will be a mix of the old and new pages.
In addition to this, search engines use the previous backlinks(Links to your pages)
as a metric in ranking your site's pages for search queries. Without those
backlinks, in addition to the aforementioned drawbacks, you risk a drop
I would recommend 301 redirecting your old pages to the new page URLs that have the most relevant content. This can really help you maintain your current audience, new visitors and search engine ranking.
While this Google article also takes in consideration domain name changes, it
is a good read for just URL and protocol changes as well: Move a site with URL changes
Another relevant article is: Change page URLs with 301 redirects
Hope that helps,