Re-use that carpet - if you must... but after you do your repair and allow everything to cure out properly only re-attach that carpet with an outdoor adhesive meant for carpet in case you ever want to remove and replace it... The way you're considering will certainly do the job - but whoever has to remove it eventually will need a whole new vocabulary when trying to remove it....