Caveat: its usually video game soundtrack items but can almost any track be basically looped in this way?
Probably helps that most music begins and ends on the tonic or maybe they slice the track in half and cross-fade or something?
How can it be (easily) replicated


Copy and paste at the right timestamps in an audio editor like Audacity. It’s pretty easy even for a beginner.