fixed file rename extension problem
fixed copy file extension problem