The filtered data to a new CSV file

You are given a CSV file containing student records with columns for student ID, name, age, and grade. Design a simple data pipeline to read this CSV file, filter out students who are older than 25 years, and then write the filtered data to a new CSV file.