Using a lower current rated amperage brick (the 5A5 A on the 8A8 A laptop) would result in 1one of the following:
- Melted power supply or cord, as the laptop starts drawing too much current
- Working laptop, with little to no charging of the battery (or charging the battery, but no working laptop) as 5A5 A is enough for one, but not the other
- Perfectly working laptop, as even though the brick is rated at 8A8 A, your laptop only draws 5A5 A (or the 5A5 A is perfectly capable of pumping 8A8 A)
Using a higher current rated amperage brick (the 8A8 A on the 5A5 A laptop) should be fine - the laptop will only draw a theoretical maximum of 5A5 A, so that's the maximum that will be put out by the power supply.
This, of course, assumes that the polarity is correct - otherwise you'll likely just go poof (or unlikely catch fire). Sometimes there's a diagram, sometimes you have to check, sometimes you just cross your fingers and pray (latterthe latter is not recommended for expensive toys like laptops).