Drop all memberships bulk

Hey.

I'm looking for solution to drop all Memberships form all Users.

I need for a test environment i copy all data and want to get rid of all data, like bills and memberships of users.

Best Regards