Transfer of squeezing in a cavity magnomechanics system