You may experience some instability at high load, but it should be fine.
Make sure that your power connectors are exactly the same, polarity, pin count, shape and size - otherwise you may break your laptop.
If you are not sure swing by a computer shop and they will tell you will it work or not.