The center point of the 5DII will focus better than the 40D's center point in very dim light. In most other ways, it's a downgrade. But for landscapes mostly, the 5DII AF is great. With moving subjects, your keeper rate will drop - learn to shoot bursts. But...the images that are in focus will be much better than the 40D - a worthwhile trade, IMO.