Discuss the psychological processes underlying memory formation

Discuss the psychological processes underlying memory formation, storage, and retrieval, considering models such as the multi-store model of memory and the levels-of-processing framework. How do factors such as attention, rehearsal, encoding specificity, and emotional arousal influence memory performance and eyewitness testimony accuracy, and what are the implications for forensic psychology and the legal system?