What is better - stealing or borrowing an idea?
To steal something means that you are unable to be the first and you jealously take it. Most of the time, you might not understand the restrictions and the philosophy behind it.
To borrow it means to give credit to be an admirer to learn from the master and to ask for a permission.
It is a form of a respect. It is a way to learn and improve. This is a way to be generous and reap the rewards.