how to inherit from script or objects from another scala file?

I want to invoke code(Web service security request) from another file Scala, because if i copy and paste, i cannot ,the original file spoils me.

Someone Knows?