Yup, any physical surface in the aquarium can act as a starter for your new tank, filter media, gravel, rocks etc. But all you accomplish by transerring the water is adding old fish water to your new setup, the bacteria is not free swimming, and as such is not actually in the water column itself.