Added copyOffer method.
Implemented copyoffer command
Added method to setAutoPay in LoanManager
Implemented setautopay functionality.