WASHINGTON — As attorney general, Loretta Lynch assumes a portfolio that includes fighting terrorism, preventing cyberattacks and dealing with police and race — issues strikingly similar to what she’s dealt with as top federal prosecutor for much of New York City and its eastern suburbs.She inherits a Justice Department consumed by efforts to stop the flow of Islamic State recruits to Syria and to prevent destructive computer crimes against American corporations.And she arrives with the department at the …