There isn't any law prohibiting it, but both the general public and law enforcement (including customs officials) don't actually know what the laws are (or pretend they don't). The only things that can cause trouble and require special permission for shipping are actual operating components of a firearm, as well as barrels and recievers IIRC. Bayonets, bipods, furniture, muzzle devices, sights/optics are fine.