Can I save an AnimationClip while the game is running?

I can record and play a character movement in my game. But how can the user save that AnimationClip into his AssetBundles folder?

var bytes = animationClip.bytes; throws out an error because Unity does not know that command.

Error: error CS1061: Type UnityEngine.AnimationClip' does not contain a definition for bytes’ and no extension method bytes' of type UnityEngine.AnimationClip’ could be found (are you missing a using directive or an assembly reference?)

There is no way to do this. In the meantime I have written my own recording function where the position and quaternion are stored in a list. So the animation can be saved easily into a text file while the game is running.