A person abets an offence who abets either the commission of an offence or the commission of an act which would be an offence if committed by a person capable by law of committing an offence with the same intention or knowledge as that of the abettor.