Can I extend cloth cable with romex?
If the wire is copper, you can mount an electrical box in the attic and use wire nuts to join the old and new same gauge wiring. If you are joining old aluminum wiring to new copper wiring, call an electrician so you don't burn your house down. :)