If both accounts are owned by the program, you can transfer SOL directly by mutating their lamports in memory without invoking the System Program:
rust **from_account.try_borrow_mut_lamports()? -= amount; **to_account.try_borrow_mut_lamports()? += amount;