Acceptable material to cap a brass/copper fitting
You could cut off the threaded adapter so you have plain copper pipe, then push on a Shark-Bite cap (they're about $6-8 at most home centers or hardware stores).

Otherwise, a stainless steel cap could be used if you're having a hard time sourcing an affordable brass threaded cap.