In active muscle ATP is regenerated by:
Phosphorylating ADP using a Pi from phosphocreatine.
Phosphocreatine is stored in the myofibrils and acts as reverse of phosphate ions which can combine immediately with ADP to form ATP. The phosphocreatine store is replenished when the muscle relaxes.