3 Sets of Wires Confusion
This appears to be a classic switch loop with the white wire marked black. With your power turned off, connect your white fixture wire to the group of white wires in the box. Connect your black fixture wire to the single black wire in the box. The box doesn't appear to be grounded so just leave the copper wire from the fixture, if there is one, unhooked and tucked into the box.