Result = CopyTexture(#Texture, #NewTexture)Description
Creates a new texture which is the exact copy of the specified texture.
#Texture The texture to copy. #NewTexture A number to identify the new texture. #PB_Any can be used to auto-generate this number.
Nonzero if the texture was successfully duplicated, zero otherwise. If #PB_Any was used for the #NewTexture parameter then the generated number is returned on success.