Jcifs copyTo method does not keep timestamp

Hello,
I am using the library GitHub - codelibs/jcifs: JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java, however when using SMBFile#copyTo to copy a file from one point of the share to another location works great. However, it does not keep the original timestamps (lastModified, createTime and lastAccess). Is this an intended behaviour ?
It is doing it when it is a serverSideCopy whereas it seems when doing from the JVM it set the correct timestamps.

Kind regards

Thank you for reporting this. I’ve addressed this issue in fix(smb): Preserve file timestamps and attributes during copy operations by marevol · Pull Request #59 · codelibs/jcifs · GitHub, which adds proper timestamp preservation during file copy operations.