First off, apply a coat of contact cement to both surfaces. Once that has dried, apply a second coat-I don't care what the Home Depot guy said, I have glued carpet to many wooden surfaces using this technique and have never had it fail. That said, I would never glue carpet to a wooden boat floor, you are just asking for trouble. Wet carpet only hold the moisture at the wood and will hold a lot more of it than you get without the carpet. Stapling invites even more chance of wood rot as you are providing an ingress for the water to the wood through the staple holes. Carpet (especially rubber backed) cut to fit the bottom of your boat, and just laid in place, is really all you need. It will not slide around, and can bre removed if it gets wet, dirty, etc. It's what I have been using for the bottome of my boat for years. Once it gets too worn, toss it and get a new piece. Stop by a carpet place, and you will find they often have carpet they have ripped out of a home when replacing it and will give it to you for free,