Labour leader Jeremy Corbyn says he is preparing for the next election and is ready to take on Boris Johnson.