Since you will pre-clear customs and immigration at YYZ, you will only have to walk from your arrival gate to your departure gate in Atlanta.